package com.atguigu.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="tb_user")
@Data
public class User implements Serializable {
    @Id
    private Integer id ;
    private String name ;
    private String gender ;
    private Integer age ;
    private String address ;
    private String qq ;
    private String email ;
    private String username ;
    private String phone ;
}
